<!DOCTYPE html>
<html>
<%include html-head%>

<body>
	<div data-role="dialog" id="editGatewayDlg">

		<div data-role="header" data-theme="a">
			<h1><%=title%></h1>
		</div>

		<div role="main" class="ui-content">
			<form class="ui-body ui-body-a ui-corner-all" id="gatewayForm">
				<div class="ui-field-contain">
					<label for="textinput-devId">Gateway ID:</label> <input
						type="text" name="textinput-devId" id="textinput-devId"
						readonly="readonly" placeholder="Gateway ID" value="<%=devId%>"
						required>
				</div>
				<div class="ui-field-contain">
					<label for="textinput-name">Name:</label> <input
						type="text" name="textinput-name" id="textinput-name"
						placeholder="Name" value="<%=name%>" required>
				</div>
				<div class="ui-field-contain">
					<label for="textinput-account">Account:</label> <input
						type="text" name="textinput-account" id="textinput-account"
						placeholder="Account" value="<%=account%>">
				</div>
				<div class="ui-field-contain">
					<label for="textinput-description">Description:</label> <input type="text"
						name="textinput-description" id="textinput-description"
						placeholder="Description" value="<%=description%>">
				</div>
				<input type='submit' data-role="button" data-theme="b" id="submit"
					value="Upload gateway"></input>
			</form>
			<a href="#" data-role="button" data-rel="back" data-theme="a">Back to gateway manager page</a>
		</div>
		<script type="text/javascript" src="owjs/wGatewayEdit.js"></script>
	</div>
</body>
</html>